package com.gress.shop.dao;

import com.gress.shop.bo.Member;
import com.gress.shop.bo.example.MemberExample;

import java.util.List;

public interface IMemberDao {

    Member insertMember(Member member);

    int deleteMemberById(String id);

    boolean updateMemberPSDByEmail(String email, String newPsd);

    Member updateMember(Member member);

    List<Member> queryMember(MemberExample example);

    Member selectByPrimaryKey(String id);

}
